/*
 * Copyright 2009 Jinbo Lin. All rights reserved.
 * 
 * cn.edu.pku.model OfficeAutomation
 *
 * Created on 2009-12-25
 */
package cn.edu.pku.model;

import java.util.Date;

/**
 * @author Jinbo Lin
 * 
 * 
 */
public class Doc implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4554049161289379244L;
	private int docId = 0;
	private String docName = null;
	private String contents = null;
	private User drafter = null;
	private Date dateTime = null;
	private User auditor = null;
	private String audit = null;
	private Date auditDateTime = null;
	private String removed = null;
	private String remark = null;

	/**
	 * @return the docId
	 */
	public int getDocId() {
		return this.docId;
	}

	/**
	 * @param docId
	 *            the docId to set
	 */
	public void setDocId(int docId) {
		this.docId = docId;
	}

	/**
	 * @return the docName
	 */
	public String getDocName() {
		return this.docName;
	}

	/**
	 * @param docName
	 *            the docName to set
	 */
	public void setDocName(String docName) {
		this.docName = docName;
	}

	/**
	 * @return the contents
	 */
	public String getContents() {
		return this.contents;
	}

	/**
	 * @param contents
	 *            the contents to set
	 */
	public void setContents(String contents) {
		this.contents = contents;
	}

	/**
	 * @return the drafter
	 */
	public User getDrafter() {
		return this.drafter;
	}

	/**
	 * @param drafter
	 *            the drafter to set
	 */
	public void setDrafter(User drafter) {
		this.drafter = drafter;
	}

	/**
	 * @return the dateTime
	 */
	public Date getDateTime() {
		return this.dateTime;
	}

	/**
	 * @param dateTime
	 *            the dateTime to set
	 */
	public void setDateTime(Date dateTime) {
		this.dateTime = dateTime;
	}

	/**
	 * @return the auditor
	 */
	public User getAuditor() {
		return this.auditor;
	}

	/**
	 * @param auditor
	 *            the auditor to set
	 */
	public void setAuditor(User auditor) {
		this.auditor = auditor;
	}

	/**
	 * @return the audit
	 */
	public String getAudit() {
		return this.audit;
	}

	/**
	 * @param audit
	 *            the audit to set
	 */
	public void setAudit(String audit) {
		this.audit = audit;
	}

	/**
	 * @return the auditDateTime
	 */
	public Date getAuditDateTime() {
		return this.auditDateTime;
	}

	/**
	 * @param auditDateTime
	 *            the auditDateTime to set
	 */
	public void setAuditDateTime(Date auditDateTime) {
		this.auditDateTime = auditDateTime;
	}

	/**
	 * @return the removed
	 */
	public String getRemoved() {
		return this.removed;
	}

	/**
	 * @param removed
	 *            the removed to set
	 */
	public void setRemoved(String removed) {
		this.removed = removed;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return this.remark;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	/**
	 * 
	 */
	public Doc() {
	}

	/**
	 * @param docId
	 * @param docName
	 * @param contents
	 * @param drafter
	 * @param dateTime
	 */
	public Doc(int docId, String docName, String contents, User drafter,
			Date dateTime) {
		super();
		this.docId = docId;
		this.docName = docName;
		this.contents = contents;
		this.drafter = drafter;
		this.dateTime = dateTime;
	}

	/**
	 * @param docId
	 * @param docName
	 * @param contents
	 * @param drafter
	 * @param dateTime
	 * @param auditor
	 * @param audit
	 * @param auditDateTime
	 * @param removed
	 * @param remark
	 */
	public Doc(int docId, String docName, String contents, User drafter,
			Date dateTime, User auditor, String audit, Date auditDateTime,
			String removed, String remark) {
		super();
		this.docId = docId;
		this.docName = docName;
		this.contents = contents;
		this.drafter = drafter;
		this.dateTime = dateTime;
		this.auditor = auditor;
		this.audit = audit;
		this.auditDateTime = auditDateTime;
		this.removed = removed;
		this.remark = remark;
	}
	
}
